if(CONFIG_DRIVER_USE_OTA)
    list(APPEND srcs "hal/ota/ota.c" "hal/ota/ota_stream.c")
    if(CONFIG_DRIVER_USE_WIFI)
        list(APPEND srcs "hal/ota/http_get.c" )
        list(APPEND srcs "hal/ota/platform/ota_admin/core.c" "hal/ota/platform/ota_admin/port.c")
    endif()
    list(APPEND incs "hal/ota")
    list(APPEND requires "app_update")
endif()
